#pragma once
#include<vector>
#include "protocol/context/ParseContext.h"
namespace protocol::parser {
	class IBusinessDataParser {
	public:
		virtual ~IBusinessDataParser() = default;
		virtual void Serialize(protocol::context::ParseContext& context) = 0;
		virtual bool Deserialize(protocol::context::ParseContext& context, const std::vector<uint8_t>& data) = 0;
	};
}